﻿using System;
using System.Runtime.InteropServices;

namespace Framework.Core.Com
{
    [ComImport()]
    [Guid("00020400-0000-0000-c000-000000000046")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface IDispatch
    {
        void GetTypeInfoCount(ref UInt32 pctinfo);

        void GetTypeInfo(UInt32 itinfo, UInt32 lcid, ref IntPtr pptinfo);

        void GetIDsOfNames_unused();

        void Invoke(int dispIdMember, ref Guid riid, UInt32 lcid, ushort dwFlags, ref System.Runtime.InteropServices.ComTypes.DISPPARAMS pDispParams, ref VARIANT pVarResult, ref IntPtr pExcepInfo, ref UInt32 pArgErr);
    }
}
